package com.meichuang.meipian.video.log;

/**
 * Created by ken on 17/11/12.
 */

public class LogUtil {
    public static boolean isONLINE = false;
//    public static boolean isONLINE = false;
    public static final String TAG = "VideoEngine";
    public static void w(String tag,String message){
        if(isONLINE){
            return;
        }
        android.util.Log.w(tag,message);
    }
    public static void i(String tag,String message){
        if(isONLINE){
            return;
        }
		android.util.Log.i(tag,message);
    }
    public static void d(String tag,String message){
        if(isONLINE){
            return;
        }
		android.util.Log.d(tag,message);
    }
    public static void e(String tag,String message){
        if(isONLINE){
            return;
        }
		android.util.Log.e(tag,message);
    }
    public static void v(String tag,String message){
        if(isONLINE){
            return;
        }
		android.util.Log.v(tag,message);
    }
    public static void e(String tag,String message,Exception e){
        if(isONLINE){
            return;
        }
		android.util.Log.e(tag, "prepare:", e);
    }
    public static void w(String message){
        if(isONLINE){
            return;
        }
        android.util.Log.w(TAG,message);
    }
    public static void i(String message){
        if(isONLINE){
            return;
        }
        android.util.Log.i(TAG,message);
    }
    public static void d(String message){
        if(isONLINE){
            return;
        }
        android.util.Log.d(TAG,message);
    }
    public static void e(String message){
        if(isONLINE){
            return;
        }
        android.util.Log.e(TAG,message);
    }
    public static void v(String message){
        if(isONLINE){
            return;
        }
        android.util.Log.v(TAG,message);
    }
    public static void e(String message,Exception e){
        if(isONLINE){
            return;
        }
        android.util.Log.e(TAG, "prepare:", e);
    }
}
